/*
 * [GPanos].[dbo].[Polylines]
 */
module.exports = function (sequelize, DataTypes) {
	return sequelize.define("Polyline", {
		id: {
			type: DataTypes.INTEGER,
			allowNull: false,
			primaryKey: true,
			autoIncrement: true,
			field: "Id"
		},
		name: {
			type: DataTypes.STRING(50),
			allowNull: false,
			field: "Name"
		},
		geometry: {
			type: DataTypes.TEXT,
			allowNull: false,
			field: "Geometry"
		}
	}, {
		timestamps: false
	});
};